export const loaderBanner = `
(function(){
    const path = require('path')
    const resourcesPath = process.resourcesPath
    const resourceModules = path.join(resourcesPath, 'node_modules')
    const asarModules = path.join(resourcesPath, 'app.asar', 'node_modules')
    const extraPaths = [resourceModules, asarModules]
    const isWindows = process.platform === 'win32'
    process.env.NODE_PATH = extraPaths.join(isWindows ? ';' : ':')
    require('module').Module._initPaths()
})();
`